package com.yxw.live_vod_backend_boot.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.yxw.yxnet_cd_center.common.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 更新消息类型Dto
 * @author liuxin
 * @date 2023-12-06
 */
@Data
@ApiModel(value="NoticeTypeUpdateDto", description="更新消息类型Dto")
public class NoticeTypeUpdateDto implements Serializable {

    @NotNull(message = "消息主键不能为空")
    @ApiModelProperty("消息主键")
    private Long typeId;

    @ApiModelProperty("状态 0-禁用 1-启用")
    private Integer status;

    @ApiModelProperty("通知内容")
    private String content;

}
